//管理员service层接口
package com.sy.service;

import java.util.List;

import com.sy.util.Page;
import com.sy.vo.Admin;

public interface AdminService extends BaseService{

	public boolean islogin(String username,String password);
	
	public void addAdmin(Admin admin);
	
	public void deleteAdmin(Integer id);
	
	public void updateAdmin(Admin admin);
	
	public List<Admin> listAdmins();
	
	public Admin getAdmin(Integer id);
//分页初始化
	public void init(int pno);
//分页实现
	public Page getPage();
	
}
